package com.lcp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lcp.entity.TcmKnowledgeComment;

import java.util.List;

public interface TcmKnowledgeCommentService {
    TcmKnowledgeComment getById(Long id);
    
    IPage<TcmKnowledgeComment> pageByKnowledgeId(Long knowledgeId, Integer pageNum, Integer pageSize);
    
    List<TcmKnowledgeComment> listByParentId(Long parentId);
    
    TcmKnowledgeComment create(TcmKnowledgeComment comment);
    
    TcmKnowledgeComment update(TcmKnowledgeComment comment);
    
    void delete(Long id);
    
    void incrementLikeCount(Long id);
} 